# Causes of run-time errors for the control list selector

At run time the application logs errors about the control list selector to diagnostics under these circumstances:

## Value connection unassigned

If the Value connection is unassigned:

- Nothing is written to the Value connection.
- The cursor remains on the unselected state.
- The highlight bar does not appear.
- The application logs an error.

## Invalid values

If a state’s value is too large for the data type of the tag assigned to the Value connection, or if the value is outside the assigned tag’s minimum and maximum values:

- The application does not write the value to the Value connection.
- The highlight remains as is.
- The application logs an error.

For example, the state value is too large for the tag’s data type if your data source is a PLC-5®, the state value is 2,147,483,647, and the assigned tag is an integer tag using the address N7:0. Integer tags have a range of -32,768 to 32,767 only.

If Enter key handshaking is set up and "Write on enter" is selected (on the General tab), the Enter connection is not set to 1, and the handshake timers do not begin timing.

## Enter key handshaking in effect

If the control list selector’s Enter key handshaking is still in effect when the operator presses the Enter button:

- Nothing is written to the Value connection.
- The cursor remains on the unselected state and the highlight remains on the selected state.
- The Enter connection remains set to 1 and the handshake timers continue timing.
- The application logs an error.

## See also

Create control list selectors

Set up connections for the control list selector

How Enter key handshaking works at run time

Causes of run-time errors for Enter key handshaking

Configure the control list selector